package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.*;

public interface OrderService {
    OrderSubmitVO sumbitOrder(OrdersSubmitDTO ordersSubmitDTO);

    String getTime(OrdersPaymentDTO ordersPaymentDTO);

    PageResult page(Integer page, Integer pageSize, Integer status);

    OrderDetailVO getById(Long id);

    void cancelOrder(Long id);

    void repetition(Long id);

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO);

    void paySuccess(String orderNumber);

    PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO statistics();

    void confirm(OrdersConfirmDTO ordersConfirmDTO);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void cancelOrder(OrdersCancelDTO ordersCancelDTO);

    void delivery(Long id);

    void complete(Long id);

    void reminder(Long id);
}
